/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.longview.io.modules.analysisresult.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.longview.io.common.persistence.Page;
import com.longview.io.common.service.CrudService;
import com.longview.io.modules.analysisresult.entity.GrassAnalysisResult;
import com.longview.io.modules.analysisresult.dao.GrassAnalysisResultDao;

/**
 * 分析结果Service
 * @author zf
 * @version 2018-04-24
 */
@Service
@Transactional(readOnly = true)
public class GrassAnalysisResultService extends CrudService<GrassAnalysisResultDao, GrassAnalysisResult> {

	public GrassAnalysisResult get(String id) {
		return super.get(id);
	}
	
	public List<GrassAnalysisResult> findList(GrassAnalysisResult grassAnalysisResult) {
		return super.findList(grassAnalysisResult);
	}
	
	public Page<GrassAnalysisResult> findPage(Page<GrassAnalysisResult> page, GrassAnalysisResult grassAnalysisResult) {
		return super.findPage(page, grassAnalysisResult);
	}
	
	@Transactional(readOnly = false)
	public void save(GrassAnalysisResult grassAnalysisResult) {
		super.save(grassAnalysisResult);
	}
	
	@Transactional(readOnly = false)
	public void delete(GrassAnalysisResult grassAnalysisResult) {
		super.delete(grassAnalysisResult);
	}
	
}